/*
 * Powered By XY
 * Since 2020
 */

package com.xy.biz.mes.dao;

import java.util.Collection;
import java.util.List;

import com.xy.biz.mes.domain.po.ManufactureResultGoodsPO;
import com.xy.biz.mes.domain.query.ManufactureResultGoodsQuery;

/**
 *
 *
 * @author zgy
 * @date 2022-2-11
 */
public interface ManufactureResultGoodsDao {

	/**
	 * 保存
	 *
	 * @param manufactureResultGoodsPO
	 */
	int saveManufactureResultGoods(ManufactureResultGoodsPO manufactureResultGoodsPO);

	/**
	 * 保存多个
	 *
	 * @param collection
	 */
	int saveAllManufactureResultGoods(Collection<ManufactureResultGoodsPO> collection);

	/**
	 * 更新
	 *
	 * @param manufactureResultGoodsPO
	 */
	int updateManufactureResultGoods(ManufactureResultGoodsPO manufactureResultGoodsPO);

	/**
	 * 删除
	 *
	 * @param manufactureResultGoodsId
	 */
	int deleteManufactureResultGoods(java.lang.Long manufactureResultGoodsId);

	/**
	 * 查找一个
	 *
	 * @param manufactureResultGoodsId
	 * @return
	 */
	ManufactureResultGoodsPO getManufactureResultGoods(java.lang.Long manufactureResultGoodsId);

	/**
	 * 查找多条
	 *
	 * @param collection
	 * @return
	 */
	List<ManufactureResultGoodsPO> listManufactureResultGoodsById(Collection<java.lang.Long> collection);

	/**
	 * 条件查找多条
	 *
	 * @param query 查找条件
	 * @return
	 */
	List<ManufactureResultGoodsPO> listManufactureResultGoods(ManufactureResultGoodsQuery query);

	/**
	 * 条件统计个数
	 *
	 * @param query 查找条件
	 * @return
	 */
	int countManufactureResultGoods(ManufactureResultGoodsQuery query);

}
